const modules = Object.fromEntries(
    Object.entries(import.meta.glob('./!(*index).ts', { eager: true })).map(([key, value]: any) => {
        const matched = key.match(/([A-Za-z0-9-_]+)\./i)[1];
        return [matched, value.default];
    })
);

export default modules
